Copy `--all-features` request to all workspace members
authorAlex Crichton <alex@alexcrichton.com>
Mon, 21 May 2018 19:57:25 +0000 (12:57 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 21 May 2018 20:38:40 +0000 (13:38 -0700)
commita70d51975437df12a4c740cd4935a49912e132eb
tree9201b5dbf14156d9d7efc07c9c41c9e773ca440a
parent64f8f1b72f6afaa2fcc01e30537e3efdb1d651f2
Copy `--all-features` request to all workspace members

This fixes an accidental regression introduced in #5012 where the
`--all-features` CLI flag was only propagated to the "main crate" as opposed to
all workspace packages. This behavior has [already been deemed][pr] as
"basically not what you want", but for now it's best to avoid the regression.

Closes #5518

[pr]: https://github.com/rust-lang/cargo/pull/5353
src/cargo/ops/resolve.rs
tests/testsuite/features.rs